Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for copilot extension agents #490

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

deathbeam
Copy link
Collaborator

@deathbeam deathbeam commented Nov 15, 2024

https://docs.github.com/en/copilot/building-copilot-extensions/about-building-copilot-extensions

  • Change @buffer and @Buffers to #buffer and #buffers
  • Add support for @agent agent selection
  • Add support for config.agent for specifying default agent
  • Add :CopilotChatAgents for listing agents (and showing selected agent)
  • Remove :CopilotChatModel, instead show which model is selected in :CopilotChatModels
  • Remove early errors from curl so we can actually get response body for the error
  • Add info to README about models, agents and contexts

Closes #466

image

@deathbeam deathbeam added the enhancement New feature or request label Nov 15, 2024
@deathbeam deathbeam force-pushed the agents branch 3 times, most recently from 1ab471b to 840bf84 Compare November 15, 2024 18:31
@deathbeam
Copy link
Collaborator Author

Also improved unauthorized message:

image

@deathbeam deathbeam force-pushed the agents branch 10 times, most recently from fd2f8c7 to f79b5cd Compare November 15, 2024 19:47
@deathbeam
Copy link
Collaborator Author

Example of using @models agent:

image

https://docs.github.com/en/copilot/building-copilot-extensions/about-building-copilot-extensions

- Change @buffer and @Buffers to #buffer and #buffers
- Add support for @agent agent selection
- Add support for config.agent for specifying default agent
- Add :CopilotChatAgents for listing agents (and showing selected agent)
- Remove :CopilotChatModel, instead show which model is selected in :CopilotChatModels
- Remove early errors from curl so we can actually get response body for the error
- Add info to README about models, agents and contexts

Closes CopilotC-Nvim#466

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
@deathbeam deathbeam merged commit c98301c into CopilotC-Nvim:canary Nov 16, 2024
1 check passed
@deathbeam deathbeam deleted the agents branch November 16, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Copilot Extentions agent Support
1 participant